<?php

    // TITLE: Homeowner Default Sweat Equity View
    // FILE: app/ho/view/defaultSweat.php
    // AUTHOR: AUTOGEN
    // CREATED: 2015/02/18 04:50:22
    // DESCRIPTION: 
    // REQUIREMENTS: 

?>
<h2>Sweat Equity</h2>
<hr>

<table class="secondCenter">  
    <tr><th>Date</th><th>Hours</th><th>Name</th></tr>
    <?php
        $total = 0;
        $nameList = array('Dan', 'Christina', 'Sean', 'Mary', 'Andrew', 'Jen');
        while ($total <= 142) {
            $name = $nameList[rand(0, sizeof($nameList) - 1)];
            $month = rand(1,12);
            $day = rand(1,30);
            $year =  '20xx';
            $hours = rand(1,8);
            $total += $hours;
            echo '<tr><td>' . $month . '-' . $day . '-' . $year . '</td><td>' . $hours . '</td><td>' . $name . '</td></tr>';
        }// end while
    ?>
</table>

<hr>
<div class="notes">NOTES HERE</div>
